Package-level declarations

Provides management of generic bounded binary data and state.

All data is handled as immutable.

No particular masking, encryption, or zeroization of sensitive data is implemented. The module assumes that the runtime environment’s volatile memory is sufficiently protected and that only trusted roles can access heap dump data.

Types

Link copied to clipboard
data class Data(val value: ByteArray)

Immutable binary data.

Link copied to clipboard
value class Size(val value: UShort)

Size of a Data object.

Link copied to clipboard
data class State<S, A>(val value: S, val result: A)

Provides a functional approach to handling protocol state.